package com.xl.studentpass.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author: xl
 * @createTime: 2023/5/27 16:31:19
 * @program: student-pass
 * @e-mail: 2199396150@qq.com
 * @description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_task_info")
public class TaskInfoEntity {
    private Integer id;
    private Integer userId;
    private Integer categoryId;
    private Integer statusId;
    private String taskName;
    private String fromPlace;
    private String toPlace;
    private String taskInfo;
    private BigDecimal taskPrice;
    private BigDecimal originalPrice;
    private String expirationTime;
    @TableLogic
    private Integer valid;
    private String contactWay;
    private String contactType;
    @TableField(exist = false)
    private List<String> imageUrls;
    private String createTime;
    private String operaTime;
    @TableField(exist = false)
    private String statusName;
}
